const chartsRouter = {
  path: 'charts',
  component: () => import('@/views/_level2/index'),
  redirect: 'noRedirect',
  name: 'charts',
  meta: {
    title: '图表',
    icon: 'chart',
  },
  children: [
    {
      path: 'keyboard',
      component: () => import('@/views/_framecapability/charts/keyboard'),
      name: 'keyboard',
      meta: { title: '钢琴键', noCache: true },
    },
    {
      path: 'line',
      component: () => import('@/views/_framecapability/charts/line'),
      name: 'line',
      meta: { title: '曲线', noCache: true },
    },
    {
      path: 'mix-chart',
      component: () => import('@/views/_framecapability/charts/mix-chart'),
      name: 'mix-chart',
      meta: { title: '组合图表', noCache: true },
    },
  ],
}

export default chartsRouter
